{extend name="index/index" /}
{block name="sidebar"}
<div id="sidebar-menu">
    <ul>
        <li class='has_sub'><a href='javascript:void(0);'><i class='icon-home-3'></i><span>仪表盘</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/Index/login")}' ><span>首页</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i
                class='icon-feather'></i><span>用户管理</span> <span class="pull-right"><i
                class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/User/index")}'><span>用户列表</span></a></li>
                <li><a href='{:url("admin/User/create")}'><span>用户添加</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-map-marker'></i><span>管理员管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/Admin/index")}' ><span>管理员列表</span></a></li>
                <li><a href='{:url("admin/Admin/create")}' class='active'><span>管理员添加</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='icon-pencil-3'></i><span>角色管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/role/index")}'><span>角色列表</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span>权限管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/auth/index")}'><span>权限列表</span></a></li>
                <li><a href='{:url("admin/auth/create")}'><span>权限添加</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-envelope'></i><span>笔记管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/Note/index")}'><span>笔记列表</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='icon-chart-line'></i><span>分类管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/Category/index")}'><span>分类列表</span></a></li>
                <li><a href='{:url("admin/Category/add")}'><span>分类添加</span></a></li>
                <li><a href='{:url("admin/Category/noteList")}'><span>笔记类型列表</span></a></li>
                <li><a href='{:url("admin/Category/noteAdd")}'><span>笔记类型添加</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>评论管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/Comment/index")}'><span>评论列表</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>新闻管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/news/index")}'><span>新闻列表</span></a></li>
                <li><a href='{:url("admin/news/create")}'><span>添加新闻</span></a></li>
            </ul>
        </li>
        <li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>推荐管理</span>
            <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
            <ul>
                <li><a href='{:url("admin/Top/index")}'><span>推荐列表</span></a></li>
            </ul>
        </li>
    </ul>
    <div class="clearfix"></div>
</div>
{/block}

{block name="main"}
<div class="row col-sm-10 col-sm-offset-1 portlets">
    <div class="widget">
        <div class="widget-header transparent">
            <h2><strong>管理员</strong> 添加</h2>
            <div class="additional-btn">
                <a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
                <a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
                <a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
            </div>
        </div>
        <div class="widget-content padding">
            <form action="{:url('admin/Admin/save')}" role="form" id="ExpressionValidator" method="post">
                <div class="form-group">
                    <label>用户名(电话)</label>
                    <input type="text" class="form-control" name="tel" placeholder="请输入用户名">
                </div>
                <div class="form-group">
                    <label>邮箱</label>
                    <input type="text" class="form-control" name="email" placeholder="请输入邮箱">
                </div>
                <div class="form-group">
                    <label>密码</label>
                    <input type="password" class="form-control" name="password" placeholder="请输入密码">
                </div>
                <div class="form-group">
                    <label>确认密码</label>
                    <input type="password" class="form-control" name="repassword" placeholder="请再次输入密码">
                </div>
                <div class="form-group">
                    <label>真实姓名</label>
                    <input type="text" class="form-control" name="real_name" placeholder="请输入邮箱">
                </div>
                <div class="form-group">
                    <label>身份证号</label>
                    <input type="text" class="form-control" name="id_card" placeholder="请输入邮箱">
                </div>
                <button type="submit" class="btn btn-primary">提交</button>
            </form>
        </div>
    </div>
</div>

{/block}